package com.xjust.Mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;

@Mapper
public interface CheckResultMapper {

    List<Map<String, Object>> getCheckResultByCondition(@Param("tech_code") String tech_code,
                                                        @Param("tech_name") String tech_name,
                                                        @Param("tech_format") String tech_format,
                                                        @Param("tech_price") BigDecimal tech_price,
                                                        @Param("check_state") String check_state,
                                                        @Param("price_type") String price_type,
                                                        @Param("check_employee_id") Integer check_employee_id,
                                                        @Param("tech_type") String tech_type,
                                                        @Param("creation_time") LocalDateTime creation_time

    );

    List<Map<String, Object>> getCheckRequestByCondition(@Param("creation_time") LocalDateTime creation_time,
                                                         @Param("check_employee_id") Integer check_employee_id,
                                                         @Param("check_position") String check_position,
                                                         @Param("check_info") String check_info,
                                                         @Param("check_remark") String check_remark,
                                                         @Param("check_result") String check_result,
                                                         @Param("check_time") LocalDateTime check_time);
}
